Improved CGameUI and CSimpleMessageFrame and added methods to avoid unsafe when possible.