Modificated CreateGUIElem()