anchor.diff:    //
     xcfg := TXMLConfigStorage.Create(aFilename, true);
     try
  +    DockMaster.RestoreLayouts.Clear;
       DockMaster.LoadLayoutFromConfig(xcfg, false);
     finally
       xcfg.Free;
  
positive.code:   xcfg: TXMLConfigStorage;
    i: NativeInt;
  begin
    for i:= 0 to fWidgList.Count-1 do
    begin
      if not fWidgList.widget[i].isDockable then continue;
  
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
  