Remove unused private member
Remove unused function getFileName
Remove unused function renderImage
Merge pull request #1163 from hansjoachim/fixes

A couple of fixes