Unless they changed it for 2011 (have not checked) the code you have appears like it should work.
Have you configured the camera itself? Instructions are here:
http://www.usfirst.org/uploadedFiles...our_Camera.pdf
In short, you have to set up the camera's username/password access to match that used internally by the software libraries given to us.
Also, regarding your imaging problems, if you deploy camera-relevant code (C++ version at least, which it sounds like you are using) to your cRIO, you will likely have problems imaging due to the way the camera software module is written (it has a bug that prevents proper system soft-reboots, which the imaging tool needs to do). This is why you were forced to use safe mode. The alternative is to "undeploy" and reboot your robot before attempting an imaging operation.