anchor.diff:    Button_RMG_Generate.OnClick := RMG_Generate_Map;
     Button_RMG_Cancel := TKMButton.Create(Panel_RMG, SIZE_X-20-160, SIZE_Y - 50, 160, 30, gResTexts[TX_MAPED_CANCEL], bsMenu);
     Button_RMG_Cancel.OnClick := RMG_Close;
  +
  +  //SetDebugSettings();
   end;
   
   
  
positive.code: 
  { TKMGUIMapEdGoal }
  constructor TKMMapEdRMG.Create(aParent: TKMPanel);
  const
    POS_X = 300;
    POS_Y = 0;
  
negative.code:       Ground := Check_Ground.Checked;
        Snow := Check_Snow.Checked;
        Sand := Check_Sand.Checked;
        FirstLayerStep := TBar_Biomes1_Step.Position;
        FirstLayerLimit := TBar_Biomes1_Limit.Position;
        SecondLayerStep := TBar_Biomes2_Step.Position;
        SecondLayerLimit := TBar_Biomes2_Limit.Position;
      end;
      with Obstacle do
      begin
  