Code cleanup : replace "<expr> == false" with "!<expr>"
Code cleanup: remove space and tab at end of line
Code cleanup: remove unused imports
Code cleanup: remove duplicate color def, and move color def
Code cleanup: use 4 spaces, not tab for indentation
Merge pull request #68 from alfh/fix_code_cleanup

Code cleanup to make code more consistent