Updating the code to allow the down key to kill the app so a usb keyboard can be used to get into the machine.