Revision 28 changes - fixes #253 and #261

This also includes some Firefox footnotes tweaks that were previously bundled in #197, but are now disentangled.