Fixed the menus
added endGame
added pauseGame