Don't save glosses vector when not persisting
Improve initialization of databases