Fix margin issue for default theme.
Set print / edit URL template variables to support improved theming.