First implementation of the footnote rearranger
Updated manifest
Fixes (mostly cosmetics)