add ability to collect application logs with custom class
added ability to disable uncaught exception processing
fix typo
ErrorReporter can run exit hook before exiting app