Now use PeekMessage to do async message lookup. Actually not async, but more to just look into the message box and not use a while-loop just for the message box. Now we have a more general while-loop.