Implemented getKeyboardKeyCode() method, and made it so that the escape key now closes the game window.