don't force close remote instance with Node support

Still use the 'close' event; Bind Window object on opening
Remote window with normal frame is still force closed

Fix #1778
Add Window.send which can be used to trigger events over IPC.
Application wide quit handler.