update styles

refactor treenode widget and update the frame.js