Changed the way the script logger.py detects that the screen is locked.
Changed the way the script logger.py detects that the screen is locked.

Now it is done by checking a separate file (updated by another daemon).

LeonidBeynenson/linux-app-logger,LeonidBeynenson/linux-app-logger