Make removal of "useless" dwell edges optional
Merge pull request #1270 from goabout/dwell_edges

Dwell edges