Fixes for Py 3.2 and PyQt4 (on Raspberrie Pi)