make SetCurrentLanguageAndRefreshUI apply all changes to a window before changing the next (and related changes)