Fixed profiling, and improved exiting the game