specified the gameloop
moved mainMenu back to the main header
added an exit option to the main menu
added an endgame menu