add display of edges, minor improvements
Add way to limit number of paths