I want to otherwise block code execution on the main thread while still allowing UI changes to be displayed.
I tried to come up with a simplified example version of
I went with something I haven't seen posted yet which is to use MessageQueues.
Seems over the top considering the windows message loop already exists somewhere, but it works.