Hello 2013!
Move Tree open/close/toggle functionality to an extension.
Build sm-tree.