cosmetic changes to WM_SIZE handling