PDFKit config & cleanup