WTL Dialog Applicaton to test dispatch. This source(./test) is available under the zlib license This dispatch routine is from Steve Lorimer and Anthony Williams. https://stackoverflow.com/questions/12522928/non-obvious-lifetime-issue-with-stdpromise-and-stdfuture