Use logging instead of raw print in Configuration module

Allow us to log the errors from library call (GUI).