Fix #36 , support OS X Command and Q event