Added small logging statement in shutdown hook
Added some instrumentation to the uncaught exception handlers
Removed the instrumentation from inside the example, moved it to the
MapTask