Added: in legalChildren a case for root node, more intelligent tab activation handling based on possible states when switching or being created (and added refreshView function), handling of root node to createTabs, add root view mode, tabs headers formatting using titleCase filter. Fixed: titleCase. Refact: openModal to use dict of parameters, all actions using openModal, selector node (thisNode/child) handling.