WinRT fixes

The async/await changes in my previous PR #13 made crash reporting unreliable for the WinRT client. This PR fixes this.