Fixed all of the exceptions from C code...