General cleanups.
Fixed segfault...

Changed to properly support long files, corrected CMake config.h
generator code to properly provide a STRING (sigh) for the VERSION macro
so it'll NOT segfault (funny that...)
Wow...  Removed coarse debug outputs...ooops.