Open pdfs in new window
Making changes to make sure PDF files open in-browser
The actual Generate PDF magic!