[eQT] pep8 + clean up code