fix glob parser bug where it would spin on @(a|b)
Factor out graph_dump() for debugging
more glob tests