Apply config changes edited at runtime (C++)

Worked like a charm, looks like I finally know where at least part of these config variables go in memory!