new comments outline code workflow. code switched from threading to nonthreading, and now outputs pdfs