http://msdn.microsoft.com/en-us/library/windows/apps/jj709937.aspx
this as suggested by Mihai Hantea ended up doing the trick. Turns out I was missing an Await command on a .FlushAsync(). After addding the await it suddenly came together and worked brilliantly.