Added opt-in error reporting (choice given when an uncaught error occurs)