Disallow resolution change when webcam is open

fixes #32