pep8, flakes, readability improvements
pep8, flakes, readability improvements

* remove unused imports
* shorten lines
* minor readability improvements on some conditionals

david415/txtorcon,ghtdak/txtorcon,meejah/txtorcon,sammyshj/txtorcon,sammyshj/txtorcon,isislovecruft/txtorcon,isislovecruft/txtorcon,meejah/txtorcon,david415/txtorcon,ghtdak/txtorcon