O.k. I've actually made some progress.
There seems to be a small period of time when the PC can be between applications. There is also the password window which can be running when the screensaver is not.
By implementing extra checks to cover those events it seems to hang together.
There seems to be a small period of time when the PC can be between applications. There is also the password window which can be running when the screensaver is not.
By implementing extra checks to cover those events it seems to hang together.