added support for quit hotkey on macOS (#995)
added support for quit hotkey on macOS (#995)

* add keybinding for CMD + Q for macOS

* only add quit menu entry for macOS

* code cleanup

ronny1982/hakuneko,ronny1982/hakuneko,ronny1982/hakuneko