added a mechanism to send uncaught exceptions to GA and also caught
exceptions.