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