Fixed a bug in delete functionality and commented RemoveEdgeCommand (for now).