swap out defaultdict for dict in output
clean up plaintext pagebreak printing, minor UI and code cleanups