Improved Print and PDF Export output.

Fixes #4