Fixes to webcam.py