Code Style changes

Moved from type() == type() logic to isinstance() calls
Changed text operations:
- Used the .format() for strings
- When building a string, build a list and then join it.
Converted == None to is None
Removed most single line if:then lines
Added some TODOs for various ideas
Removed dead code
change range(len()) iteration to either zip or enumerate