Remove unused ConqueTerm stuff.
Adapt derekwyatt's code to switch between a test and main file.