switch deleteModels() to use single pass for entire model set
cleanup ModelTreeElement::readElementDataFromBuffer() to not read the buffer twice