Merge pull request #13151 from mitaclaw/core-global-system-6 MainWindow: Avoid Global System Accessor