function prepTabs(node) {
    const tabs = RED.tabs.create({
        id: 'tabs',
        scrollable: false,
        collapsible: false,
        onchange: function(tab) {
            // Show only the content (i.e. the children) of the selected tabsheet, and hide the others
            $('#tabs-content')
                .children()
                .hide()
            $('#' + tab.id).show()

            // ? Could move these to their own show event. Might even unload some stuff on hide?

            switch (tab.id) {
                case 'tab-files': {
                    tabFiles(node)
                    break
                }

                case 'tab-libraries': {
                    tabLibraries(node)
                    break
                }

                default: {
                    break
                }
            }
        },
    })

    tabs.addTab({ id: 'tab-core', label: 'Core', })
    tabs.addTab({ id: 'tab-files', label: 'Files', })
    tabs.addTab({ id: 'tab-libraries', label: 'Libraries', })
    // tabs.addTab({ id: 'tab-security',  label: 'Security'  })
    tabs.addTab({ id: 'tab-advanced', label: 'Advanced', })
}
Prep tabs
@param {object} node A reference to the panel's `this` object