Elements are all created via one function, newElement, meaning you can combine toggles, colorpickers, etc all into one element. This function are apart of sections, which are currently not creatable. Rather, you are given two full size sections in the Lua tab.
Flags are NOT set to nil after an element object is destroyed via Destroy.
Create An Element
<table Element Object>newElement(<table> Element Information)