Demo code now able to select newly created code. Also ...

... simplifed code by joining classes TreeModelSupport and
AbstractTreeModel.