adding ability to add menuitems to other windows than the browser.xul and get a ref to the window onCommand