This function is used to end at the same time remove all the controls from memory.
ui_end();
Return: True if successful