[#163] update node-webkit to v0.10.5
[#205] added platform sniffing so that the menu code is only executed on darwin