Add state packet delta compression.
Fixed stale reference to base.py -> widget.py