removed commandtree, added <span> to avoid weirdness from react, added keys to avoid react warnings