operate on grayscale images

first of two planned speed optimizations: color the image gray before
running the detection to speed it up slightly. next planned optimization
is scaling the image down and doing the detection on that
output to a file if specified on the command line
whoops, forgot this work was here