Close edge and node inspectors and menucards when they're removed, fixes #75