Fix example config and error notification if config is invalid.