fixes to the camera code and additions into the sbc header