Make use of a few CoffeeScript filters.
ExpandThread tweaking.

Also fix code trying to $.off `ExpandThread.cb.toggle`.
Close #1106
Merge branch 'v3' into watcher