added MenuItemIfWinExists(item,win,optionsStr)