Found a work around for the tree renderer compiler crash. Pre-render the node visits to an array of strings then pass that to render children.
Fixed up error handling comments.