Made a few small changes. Changing a node in the active area will no longer add a new (unnecessary) edge. Also have enter in the search run searchquery.