Honor thread body format in PDF export
Use strongly typed ThreadBody instances for output