various bugfixes, added "Sub File" node type