refs #6447 most tests and some controversial changes

to the MDBoxFlatTree methors (boxID !=boxNum?