Converted to Pyside and made Python3 compatible.