[[ Cocoa ]] Dock menu support implemented.