Are you getting any error message on the crash, we need a bit more information else its impossible to say what the issue might be.
One thing to try is to uninstall and reinstall it, if you havent allready tryed that.
Is there some workaround to get alt-tab working in fullscreen mode as its supposed to ?
It seems like releasing/renewing dinput8/dx9 resources is an issue.
Good job :) @The Iron Wolf
just 1 thing, can you please include a link to the .dll source code for thos who are paranoid.
[EDIT]
Disregard, didn't spot that the .dll it had its own thread.