Initial version of the NGSI support
Fix some problems destroying iwidgets