Fixed the game process, and several errors.