Added a limit to the invoice elements. Fixed up the rendered PDF invoices.