Merge "Modify uncaught exception handler to call System.exit(1)."