@public new method createElementFromType() added to create elements from an ElementType fixed unregistering of elements from the screen (it does now unregister child elements too)
@public
new method createElementFromType() added to create elements from an ElementType
fixed unregistering of elements from the screen (it does now unregister child elements too)

bgroenks96/nifty-gui,void256/nifty-gui,atomixnmc/nifty-gui,Ryszard-Trojnacki/nifty-gui,gouessej/nifty-gui,relu91/nifty-gui,mkaring/nifty-gui,Teencrusher/nifty-gui,Ryszard-Trojnacki/nifty-gui,xranby/nifty-gui,atomixnmc/nifty-gui,Teencrusher/nifty-gui,void256/nifty-gui,bgroenks96/nifty-gui