Fix spelling mistakes.

Also remove several trailing white spaces and blanks before tabs.
Use boolean logic

Use "True" instead of "1".
Remove unnecessary parenthesizes.
Remove comparison with "True".
Convert README to markdown
Fix file-encoding

Convert to UTF-8 and fix encoding errors.
Merge pull request #1 from pmhahn/master

Some cleanup work