fixing camera bugs
cleaner handling of camera acquisition errors