Updated EscaMain to output tree in a way that we can attempt to verify
things.