Added grouping code.
Minor optimizations.
Removed traverse dependency, implemented efficient graph walker.
Cleanup cursor code.
Tested and functional.
Restore original formatting (mostly), fix skip/lim cond.
Restore original timeout.
Restore a few blank lines.