Remove backtraces from error messages

Backtraces are probably meaningless to most users and their presence generates a lot of email.

This replaces the error page with a generic message + a reference to the full logged trace in the case of a persistent message.
only thought is that `$ref` could be a little ambiguous given perls `ref` function?