Improve some code comments.
Fix crash if HyperedgeRerouter was given an invalid hyperedge.