cocoaui: added cmd+w and ctrl+cmd+w shortcuts to close window and tab respective