edge handling fixes, removeVertex() added, more options