This import is unneded
Fixes for Python 3 compatibility
Adjust the API of QVariant to ensure it works in Python 2 and Python 3
Load ui files dynamically rather than statically, so that interfaces are
usable both in Python2 and Python3
Fix a SNAFU that went undetected for long (Python3 testing uncovered it)
Add UI loading support for preferences, but fall back to compiled UI files as
runtime compiling fails for some reason