entity grids, proper sgml files, discotools interface