Rave-806: Friendly error message page with option to render stack trace as an admin preference. Patch supplied by Daniel Gornstein