changed error handling. added ability to include/toggle user defined error handler modules.