pratt.py: some debug stuff
clean-ups of old stuff
massive cleanups