Map ctrl-f4 to core:close command on Windows

Closes #2903