Compile and render pdf when 'Show PDF View' button is clicked.
Merge pull request #44 from huderlem/master

Compile and render pdf when 'Show PDF View' button is clicked. 
Thanks Marcus!