Trivial tweaks for >= py2.7 + typo fixes

+ Allowing for running of tool on
  python version >= 2.7 to 3.5.
  Could add portability way back to 2.4 but
  that'd require usage of optparse + a little
  more work so need to discuss with @macpd first.