Screenshot is now executed in a thread to avoid the OS thinking the
application has hung!