Made onGameEnd fire before CleanupEverything