BugFix (HTMLTPL): Do not include the download menu if it would be empty.
Misc (HTMLTPL): Simplify calling enablePopOvers.
BugFix (MACROS): Fix handling of macros with parameters

  -- the pattern didn't match the ending parenthesis which
     incorrectly remained in the text