Doesn't work in ST3

The plugin no longer seems to work in ST3 - nothing in the console but it just doesn't seem to set the mode etc.

If I can find time I hope I'll take a look and open a pull request. Otherwise this bug is here for a placeholder.