PDF mostly working but peculiar issues remaining to make it perfect