anchor.diff:    // does not save minimized/undocked windows to prevent bugs
     for i:= 0 to fWidgList.Count-1 do
     begin
  +    if not fWidgList.widget[i].isDockable then continue;
       if DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState = wsMinimized then
         DockMaster.GetAnchorSite(fWidgList.widget[i]).Close
       else if DockMaster.GetAnchorSite(fWidgList.widget[i]).SiteType = adhstNone then
  
positive.code:   // TODO-cLCL&LAZ-specific: possible loading AV, xml saved after undocking some widgets, xml file abnormal size.
    for i:= 0 to fWidgList.Count-1 do
    begin
      if DockMaster.GetAnchorSite(fWidgList.widget[i]).WindowState = wsMinimized then
        DockMaster.GetAnchorSite(fWidgList.widget[i]).Close
      else if DockMaster.GetAnchorSite(fWidgList.widget[i]).SiteType = adhstNone then
  
negative.code: 
    for i := 0 to fWidgList.Count-1 do
    begin
      if not fWidgList.widget[i].isDockable then continue;
      DockMaster.MakeDockable(fWidgList.widget[i], not fileExists(getCoeditDocPath + 'docking.xml'));
      DockMaster.GetAnchorSite(fWidgList.widget[i]).Header.HeaderPosition := adlhpTop;
    end;
  