Please help add a check ensuring that `Settings._currentPanel` is set, so that we won't forget to remove the code when we obsoletes `Settings.currentPanel`.