refactor print_*; invoice sections by package class; could still stand some more...