rm splices when hasardous, reorganized use of mainArticleName, ensured rm of nxml