did some basic optimization using integral images, next up window finder, command line, and maybe multiprocessing.