made the timer work correctly, removed the exception appearing after the game over screen