Add basic support to catch unhandled exceptions.
Update copyright info.