various pylint clean ups

Hopefully should be no functional changes here.
49 files changed