Fix for printing hidden/invisible nodes. Only active when flag skipHiddenNodes/skipInvisibleNodes is set.
Fixed remove methods which did not properly delete empty map entries
And a follow up fix for the inconsistency problem. Plus some comment changes in GenericTreeNode