One more thing. I forgot to include a test case for the code. I have added it to the zip and uploaded it to the server. If you grab it again, you can try the test case out. There is a problem with Display and Keyboard, however. You will have to terminate the process to end the test case. Or in Eclipse, just push the stop button on the console.