deleting words and a few UI improvements