Improve formatting
Print uncaught exceptions