a fix to invoking a context menu directly on windows; refactoring: invoking context menu has been partially moved to a searcher