Simplified config validation, added warning about unknown config options.