Fixed several problems newly reported by pylint 1.1.0 and worked around a problem involving pylint 1.1.0 and pyqt.