Large formatting cleanup in admin templates.