Made some portability changes.  Still need to figure out a portable way to specify the opencv libraries...  The main changes are to work with the opencv 2.4.4 header structure (<opencv/cv.h> vs. the old way <opencv/opencv.h>).
I think I fixed the tuning bug.  Now there's the same number of radio buttons as emitters as cells.
Don't want to commit these, but have to i guess.  Build system garbage...