Added XML parsing of config file and changing CRITICAL errors to WARNING if it is properly configured.