Clean up error pages

I ended up having to futz with the #layout table because the pre on 500
pages for tracebacks was breaking the layout.