anchor.diff:    EmmetHelper;
   
   const
  +  cThreadSleepTime = 80;
  +  cThreadSleepCount = 15;
  +  //total sleep time = SleepTime*SleepCount ~= 1sec
  +
  +const
     StatusbarTag_Caret = 10;
     StatusbarTag_Enc = 11;
     StatusbarTag_LineEnds = 12;
  
positive.code:   F: TEditorFrame;
    i: integer;
  begin
    //maybe no need too? done in DoCloseAllTabs
    for i:= 0 to FrameCount-1 do
    begin
  
negative.code: end;
  
  procedure TAppNotifThread.Execute;
  var
    i: integer;
  begin
    repeat
      for i:= 1 to cThreadSleepCount do
      begin
        if Application.Terminated then exit;
        if Terminated then exit;
        Sleep(cThreadSleepTime);
      end;
  
      if not UiOps.NotificationEnabled then Continue;
  
      EnterCriticalSection(AppFrameCriSec);
  