Added slightly better, but still horrible, exception output.