Added an option to use the MJPEG video stream.
Improved the frame rate of the preview to 10 fps by extracting jpeg frames from the mjpeg stream instead of using jpeg snapshots.