PDF formatting, bug fixes, BR change