JBIDE-13525 BrowserSim: add syncronized windows

fix for context menu in Mac Os for sync window
small code refactoring