improved error handler method names
improved error check on shutdown
enable error reporting