Added chnages to handle error from protected mode after DPMI switch takes place.
Chnaged names of DPMI register table due to adding dpmi_flags variable to detect DPMI VMM