Corrected an error in configurator.cpp which prevented error messages to be printed correctly