python scripts: clean + py3 compatibility

* remove setEnvTuttle: the job is done during import
* pep8
* simplify getBestPlugin
Text: take into account alpha of text color