Removed HTMLPage->getOutput()
Updated TreeMDown->display() to determine output type