Added proposal of extended node permissions.
Small refactoring of debug print code.