Added menu to capture current window