ExposedModel now deleting gui.
Corrected test for deleting GUI in exposed model.
Fixed memory leak where assigning new child to tab actually deletes old child.