Don't use QtTest - it hangs on OSX and isnt really needed in most cases as we can just do myButton.click etc. Also fixes various pylint errrors.