Add shutdown method to Game and call it from main on closing.