Optimised ImageProcessor.toImage().
Optimised PreviewDialog.UpdateThread.
Fixed PreviewDialog and FrameGrabber behaviour.
Fixed PreviewDialog error handling in start().