Various fixes to opening a vocabulary list file. Cleanups to the
insert_all/remove_all methods