Add version info, about dialog and improve error output.
Merge branch 'FEATURE_ABOUT'
Change config.h to be generated by CMake and config.h.in.

This also updates the about box with correct version info.