Fix surface-level Python2/3 differences preventing plugin from even loading in Sublime Text 3.
More changes for ST3 compatibility. Remove some stuff that I don't think is necessary in Python 3.