shutils/common.sh: misc tweaks to the global template vars.