python3, config.ini, pep8, minor changes