Fixed skeleton for extended application by adding heap 0 to prevent memory allocation for DPMI buffer failure
Commented out setting of ES register to CS since ES is used elsewhere for XMS calls and holds DPMI buffer segment