Ok, the options menu fails to initialize because it contains a #text element as it's only child, and NewGlobalMenuItem bails out because it isn't a XUL element
Ok, the options menu fails to initialize because it contains a #text element as it's only child, and NewGlobalMenuItem bails out because it isn't a XUL element