Display exception text as preformatted text

So that the error marker (^) points to the correct position. Also make the font size smaller to reduce wrapping/clipping caused by very long Type name (e.g. mapping type).
Make exception text a bit larger, add overflow: auto
Merge pull request #1945 from char101/patch-2

Display exception text as preformatted text