editor is a vector::iterator object and list is obviously a vector.
I'm wondering why it will not (vector).erase() the first element of the list, and when I try to with only 1 item, it throws an exception.
for (editor = list.begin(); editor < list.end(); ++editor)
if (*editor == title)
list.erase(editor);