RFT: Refactored wkhtml2pdf renderer