Added mjpeg support and some bugfixes