Update error and add 500 error page plus code to cap tracebacks and place them in error page