SGengine.h: Addelement functions added.