Fix to remove the last message on the message pump (typically WM_QUIT).