pep8, log silencing, cleanup