Added TCPDF / FPDF bridge - cleaned up code