Update tk, now at dry run stage.

Update the tk.py, basically rewrite.  Now passes tests, but doesn’t do
anything.