Media formatting in the XSL, and admin-only debug output.