Fix footnote problem.

Need idempotent footnote creation, due to parsack.
Delete trailing spaces in last, string element of xexpr.