Merge code from RealyUniqueName/StablexUI.