Ensures that the error location is always included in TemplateException.getMessage() itself, as some users don't see the stack trace. So now I add the stack trace top instruction at the end of the message automatically, unless it's printed as part of the stack trace. Also some minor stack trace formatting improvements.