it compiles and links properly.  I don't guarantee ANYTHING else.

This is a very major change - I have removed dotconf and am replacing with
libconfig.  Also did some cleanup along with it.  Some parts are messy.
I hope it's functional.