Fix for czar logout. Started work on game shutdown.