Fix get-freq.py.
pg cleanups.