Fix all pyflakes
Import QtCore from right place