Various improvements to "shiny" exception template