Small fixes

Some minor stuff for consistency and to get a bit closer to [PEP8][pep8].  Wrapped it in a main function, which I think kinda makes it neater, especially if/when there are more modules/functions/etc.  Also, makes the string formatting a bit more consistent.

Theoretically, the variables should be underscore separated too, but that is less of a problem.

[pep8]: http://www.python.org/dev/peps/pep-0008/