anchor.diff:      JoyHat[i] := false;
     end;
   
  +  // Check if user made some screenshots and set screenshot counter accordingly
  +
  +  tmpScreenshotCount := 0;
  +  if FindFirst('screenshot*.png', faAnyFile, searchResult) = 0 then
  +  begin
  +    repeat
  +      tmpScreenshotCount := tmpScreenshotCount + 1;
  +    until FindNext(searchResult) <> 0;
  +
  +    // Must free up resources used by these successful finds
  +    FindClose(searchResult);
  +  end;
  +
  +  fScreenShotCounter := tmpScreenshotCount;
  +
  +
  +  // Probably not needed here...
     if FHideCursor then SDL_ShowCursor(0)
                    else SDL_ShowCursor(1);
   
  
positive.code:   fMouseButtonDownEventList := TList.Create;
    fMouseButtonUpEventList := TList.Create;
  
    for i := 0 to High(KeyUp) do
    begin
      KeyDown[i] := false;
  
negative.code: }
  
  constructor TelWindow.Create;
  var
    i, tmpScreenshotCount: Integer;
    searchResult: TSearchRec;
  begin
    inherited Create;
  
  