Extract SDLUIDriver from teaUI.lua. Change the UID generating method.