anchor.diff:    xcfg: TXMLConfigStorage;
     i: NativeInt;
   begin
  +  DockMaster.RestoreLayouts.Clear;
     for i:= 0 to fWidgList.Count-1 do
     begin
       if not fWidgList.widget[i].isDockable then continue;
  
positive.code:   //
    xcfg := TXMLConfigStorage.Create(aFilename, true);
    try
      DockMaster.LoadLayoutFromConfig(xcfg, false);
    finally
      xcfg.Free;
  
negative.code:   if not fInitialized then exit;
    if not Visible then exit;
    //
    DockMaster.RestoreLayouts.Clear;
    if WindowState = wsMinimized then WindowState := wsNormal;
    // does not save minimized/undocked windows to prevent bugs
    for i:= 0 to fWidgList.Count-1 do
  