Removed extraneous print statements.
Fixed logging setup for ConfigurationManager.
Added configuration defaults in case a key is missing; useful for changes that would otherwise break.