Update curvyEdges.py

added the reLink button, and improved exception handling.