anchor.diff:    // 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 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:   // does not save minimized/undocked windows to prevent bugs
    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: begin
    widg := TCEWidget( TComponent(sender).tag );
    if widg = nil then exit;
    //
    if widg.isDockable then
      win := DockMaster.GetAnchorSite(widg)
    else
      win := widg;
    //
    if win = nil then exit;
    win.Show;
    win.BringToFront;
  