code cleanup, added NER, senses from token, UI improvements