add missing comments
minor fixes
fix findSynonyms for vector
clean up