Changed ROOT nodes from $ root to be length zero strings

Since the # capt function only captures non-zero-length strings,
if the $ root nodes have element strings of length zero then they
are uniquely identifiable in the tree for what they are.
Merge branch 'astTreeAttemptOne' into allUnmergedFeatures