changes to GUI editor, duplicate and delete now work with new line index system