UPDATE stop trying to read from camera when fatal error occurs 

main.h had not been updated to comply with the new main.c video_getframe function.