controls.js: setupControlPanelTabs()