fix pdfs for mailer. Other ticket fixes.