Upgrade status bar to use the new panel api