tabs.py: tab -> tab_dict
pages.py: rename CONSTANT, pylint fixes