Mac OS X: Avoid Cocoa error beep when a Cmd+key is used

This change should be reverted in some way when the OS X menus
are implemented (issue #135)