backgrade to pyqt4, update to res publica (hopefully)