Fix https://github.com/deitch/jstree-grid/issues/57 issue with tree.refresh(). Also cleaned up changing data