fix broken build
call node-webkit close window on quit
Merge remote-tracking branch: upstream/master