DipyDoc::read_mainfile__doctype_text__syntagma() now reads DipyDoc's notes
improved memory management