Added the keyListener stuff