added new error reporting system - not yet attached
hooked up the new error handler