Throw error when BrowserWindow is created before app is ready
Upgrade native_mate, fixes #660