runtests.py: pep8++ and remove unused bits.