Mainly config reader improvements

Improved unhandled exception handler, fixes #318.
Added x14 support.