Updates, it runs now, but needs fixing. Tweaked isLeafNode to recognize flyweights