Converted tabs to spaces.
PEP8, cleanup.
Refactoring, cleanup.