Add a game over screen and fix a bug to close the game

Now when you click to close the game, it will quit rather than come back
to the menu