needsUI to prevent the need for manual tracking of amount of layers for makeTabs. Could set a property on the attachUI function, but that isn't really cleaner