Tp

Hi Zaixing,

This branch decodes/prints TPs, moves some pattern printing options to oneRun.py, and does some minor clean-up.

Ted