fixed the NPE when starting the game. Also removed the catching NPEs to quit the game.