Broke endlessPanel, fixed PauseGame()