anchor.diff:      fPreviousTick := TimeGet;
       fPreviousDate := Now;
     finally
  -    if MultithreadLogging then
  +    // We could be locked by other thread, thus unlock here only if this thread made a lock
  +    if lockedHere and MultithreadLogging then
         UnLock;
     end;
   
  
positive.code: //Lines are timestamped, each line invokes file open/close for writing,
  //meaning that no lines will be lost if Remake crashes
  procedure TKMLog.AddLineTime(const aText: UnicodeString; aLogType: TKMLogMessageType; aDoCloseFile: Boolean = True);
  begin
    if Self = nil then Exit;
  
  
negative.code:     if aDoCloseFile then
        CloseFile(fLogFile);
    finally
      // We could be locked by other thread, thus unlock here only if this thread made a lock
      if lockedHere and MultithreadLogging then
        UnLock;
    end;
  
  