Apply proper conversion of unhandled exceptions. Fixes #80