public override void OnMapCloseEnd()
 {
     base.OnMapCloseEnd();
     if (!General.Map.DOOM)
     {
         toolsform.Unregister();
     }
 }