[undistRectTS] Fix further bugs/typos

Misc bugs in porting to proper CLI.