Fix some references to theView in makePDF
Merge pull request #2 from inkytonik/master

Some references to theView should be self.view