Validate if modeltree is empty
Added a couple of functions to ease visualobject and customnodes
creation inside connections node