Fixed a bug causing some exception messages to get suppressed. Improved formatting.