Update assignment client to close on WM_CLOSE message on Windows

StackManagerQt sends a WM_CLOSE when closing a process, but by default they are not handled - this adds handling for those messages.
Updated, thanks!