tidy screenshot code, add ability to request a resized imaged [thumbnail], using the new resized image in the gui with automatic polling to keep the console view up to date