refactor(config): remove mutable globals

Description

💡 Review commit-by-commit.

Resolves #8343

How has this been tested?

Screenshots (if appropriate):

Edited by Kai Armstrong

Merge request reports

Loading