work towards footnotes
work towards footnotes part 2, not functional
work towards footnotes part 3, still not functional at all
work towards footnotes part 4, now somewhat working
work towards footnotes part 5, now with "correct" bottom margins, 
still needs work: distance line/content, fistoutput etc
fixed headers