Makes code robust to loss of USB during capture. Now returns a black frame if the camera is lost.  Good for attempting to survive a crash.