Made the screenshot processing thread a daemon.
More robust unit tests