added title and game over screens, improved input response by moving keyboard input commands into dedicated method outside of update loop