[BUG #7145] Fix opening of submenus.
[BUG #7216] Added the possibility to change the root of createNamespace.