ProcessMessages() improved debugging.