You considered embedding pure python tornado 3.0 as a websocket server for (browser <–> sublime) communications ?
Angular JS / CoffeeScript / LiveReload etc make html5
pretty damn sweet these days
re: scope hunting
Back in the day I was trying to hunt down a bug in the CSS grammar, and much to my confusion, multiple rules were applying the same scope name.
This led me to create a grammar generator that would create a unique id, patching the scope names with bla.do.dont.#0F3A4 etc
That way you can easily *regexes-applied
I say this, as creating color schemes is much the same task as a creating grammar at times.