Exit when constructor fails to open camera.
...
Increase framerate of gui.