Improve error display on crash to get better bug reports.

3 files changed