Set default value.
Fixed cleanup of children when removing tabs.