Fixed widget imports for Python3