Some commenting, log tweaking, linting
A bit closer to python3 compat