added handling for cases where no icon could be retrieved
nodeTypes list is now sorted alphabetically
fixed a bug where the selection of nodes would be lost after adding or
removing any nodes in the nukescript