In-game menu with quit option which shuts down the game without crashing