Fixxed bug which caused the gui to not update the last edge in array.