Use booleans instead of 0/1 for functions return values/vars.
Fix some minor spacing issues again.
Just use string concat. to join two numbers.
Remove parentheses from conditionals.
Conform variable naming to Google's python style guide.

http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Naming#Naming
Conform method names to be consistent and per Google's style guide.

http://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Naming#Naming
Remove unused imports.