More cleanups and began work on atsc_tx.py