added done message and empty lexicon warning