misc changes to tmpl\default.php