tabs:AddTab now sets object visibility properly