PySide related issues.
Enable blitting.
Use QApplication.instance()
Replace qt.qApp.processEvents()
Correct comment.
Add comment.
New layout related changes.