Add missing "threading" import to image module
Refactor and make more python naming conventions
Remove unused imports and import only the Qt namespaces