Clean up code that generates the PDF a bit
Tweak the label settings