Wait for the app ready event before creating windows
Wait for the app ready event before creating windows

Fixes #524

feross/webtorrent-desktop,feross/webtorrent-app,yciabaud/webtorrent-desktop,yciabaud/webtorrent-desktop,feross/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop,webtorrent/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop,michaelgeorgeattard/webtorrent-desktop,yciabaud/webtorrent-desktop,webtorrent/webtorrent-desktop,feross/webtorrent-app,webtorrent/webtorrent-desktop,feross/webtorrent-desktop,feross/webtorrent-app