Fix bug in WM_NCCALCSIZE decoding.  Move buildCall functions out of RunApplication.
Fix bug in WM_NCCALCSIZE decoding.  Move buildCall functions out of RunApplication.

polyml/polyml,dcjm/polyml,polyml/polyml,polyml/polyml,dcjm/polyml,polyml/polyml,dcjm/polyml,dcjm/polyml