Issue #13 fixed + several other fixes/improvements

Including footnotes autoscrolling