anchor.diff:    cpSurface: TCategoryPanelSurface;
     nRoot, nSection: TKMXmlNode;
   begin
  +  if Self = nil then Exit;
  +
     gLog.AddTime('Saving dev settings to file ''' + fSettingsPath + '''');
   
     //Save dev data to XML
  
positive.code:   cpName: string;
    nRoot, nSection: TKMXmlNode;
  begin
    gLog.AddTime('Loading dev settings from file ''' + fSettingsPath + '''');
  
    // Apply default settings
  
negative.code: // Save dev settings to kmr_dev.xml
  procedure TKMDevSettings.Save;
  begin
    if Self = nil then Exit;
  
    {$IFDEF DEBUG}
    // allow crash while debugging
    DoSave;
  