Fixed compiler warnings.
More cleanup to camera transformation code.