remove unused imports and some assorted pylint-ing