added base TEI editing form, added TEI display handling