Comment out most of the grayscale filter code

Brad,

I've used the grayscale filter with this code commented out all over the place and it still seems to work fine. With this code uncommented, I get rotation issues and problems calling imageFromCurrentlyProcessedOutputWithOrientation returning a white image.

What is the monochrome stuff trying to do exactly? Some optimizations?