wip semtrex matching: moved capture code back into open capture, which puts it back in the right order (however nesting still fails).  added better debugging code to match routine
fixed semtrex matching with captures!!

converted semtrex match algorithm to not use recursion and instead build a branch-point stack explicitly, handing capture possiblities on that same stack