Fixes for various PEP8 issues.

These changes seem explicity against PEP8 advice: http://legacy.python.org/dev/peps/pep-0008/
```
Yes:   if greeting:
No:    if greeting == True:
Worse: if greeting is True:
```