improvements to TextEditor: NPCs added