preHalt

Called before the game loop is stopped (running set to false).