re-added mysteriously absent error_handler.cpp, and new config_handler