added check for config prior to loading, restored configuration-time diagnostic output