changed: don't start the screen saver when minimized. Prevents the start of the ss when maximizing and an endless loop with some ss.
Merge pull request #3893 from wsoltys/screensaverfix

changed: don't start the screen saver when minimized.