Compressed lines of code and covnerted tabs to 2 spaces.

As a Python developer, my editor is not allowed to insert tabs anywhere.
:-) I also remove about 200 empty lines.

Feel free to reject this commit.