Numerous refactoring enhancements and fixes to the ListTag.py.