I've decided to scrap the CEX-DEX project
After doing some more reading and more understanding. The crashing after trying to close an application was the same error the early beta pups of the rebug. And along with some other small things I've noticed about how the VSH works. I believe that the debug vsh.self is simply incompatible and only patching the vsh.self will fix it. Which I don't think is possible at the moment. I am sorry everyone. For those who are interested in what I've done so far, and want to do some experimenting, or just want to see it for them selves, PM me for the pup.
I will continue working on adding to my CEX based 4.00HFW