Make Sublime plugin work with Sublime Text 2.
Make Sublime plugin work with Sublime Text 2.

Fix misc threading issues in the plugin.

1self/sublime-text-plugin,1self/sublime-text-plugin,1self/sublime-text-plugin