[Diagnostics] Further work on Flattened Exception. Lots of testing left to do.