Final errors fixed - video input camera written (might work)