added new support for note files and tweaks for better footnotes

Benjamin Mako Hill || Want to submit a patch?