Added some debugging tools to camera.cc