topview.py: renamed globals