Changed how the game restarts so it doesn't constantly nest function
calls, leading to a build up of memory.