Continued work on input and event handling in order to make the game loop functional once again.