Added prepareOrthogonal() and preparePerspective()
Uh. Didn't include the file that the changes were in. Here it is.
Fixed an NPE hole
Reduced cyclomatic complexity, optimized