Seems to work better now.
Some touchups on the TreeModel class.
Some code straightening.
Material tree is rendering correctly.