Added signal suspension and resumption to make VM functions atomic
Added signal suspension and resumption to make VM functions atomic

Tested very thoroughly until it worked properly.

ianfort/150proj2,ianfort/150proj2,ianfort/150proj2