Fixed bug in quote environment and improved footnote styling
Fixed backreferences to include correct namespacing