Fix default config file. Improved error messages.