added 2 new errors
docs
the preview port must be configured with yuv format, examples cleanup