Improve logging on fatal exceptions. Closes #66