fix to wkhtmltopdf usage
removed debug code
fix for pdf sub-page result preparation