anchor.diff:      fWarningsString: TKMScriptErrorMessage;
       fHintsString: TKMScriptErrorMessage;
   
  -    fHasErrorOccured: Boolean; //Has runtime error occurred? (only display first error)
  +    fRuntimeErrorOccured: Boolean; // Has runtime error occurred? (only display first error)
       fScriptLogFile: UnicodeString;
       fOnScriptError: TUnicodeStringEvent;
   
       fLogLinesCnt: Integer; // number of log messages (lines) logged
       fLogLinesCntMax: Integer; // Max number of lines to log (could be changed via scripts)
  -    fLogTooLongMsgAppended: Boolean; // Flag if we logged 'too many log lines' message
  +    fLoggedTooManyLines: Boolean; // Flag if we have logged 'too many log lines' message
   
       procedure SetScriptLogFile(const aScriptLogFile: UnicodeString);
       function AppendErrorPrefix(const aPrefix: UnicodeString; var aError: TKMScriptErrorMessage): TKMScriptErrorMessage;
  
positive.code:           WriteLn(fl, Format('%23s   %s', [FormatDateTime('yyyy/mm/dd hh:nn:ss.zzz', Now),
                    'Log file exceeded ' + IntToStr(MAX_LOG_SIZE) + ' bytes and was reset']));
            fLogLinesCnt := 0;
            fLogTooLongMsgAppended := False;
          end
          else
            Append(fl);
  
negative.code:       gLog.AddTime('Script: ' + logErrorMsg); //log the error to global game log
        WriteLn(fl, Format('%23s   %s', [FormatDateTime('yyyy/mm/dd hh:nn:ss.zzz', Now), logErrorMsg]));
        CloseFile(fl);
        fLoggedTooManyLines := True;
      end;
    end;
  
  