added collapsable sections to source code treasury menu
fixed template http response header for status codes
template errors now have the template filename rather than the initial script
template header issued before an error or when template processing begins