Fixed camera I/O, made existing algorithm compatible, modified IPCapture slightly to make error messages print to default console