PEP8
Small bug fixes for PySide 1.2.1