adds updating ui with synonyms in ui thread.
adds simple term extraction.