Some interface improvements; started adding edit_edge functionality