Implemented ProcessingDialog and VideoPipeline.

Also minor clean-up in VideoHelper/VideoSource.