x button is evil I tell you
sounds like your registry got nuked - that would be bad.
Use InClose instead. I found a link to the CAB posted over at xda in this thread
http://forum.xda-developers.com/show...=306176&page=9
This post
http://forum.xda-developers.com/show...0&postcount=89
Works great for me, no errors, no wild memory use, no problems. Just works.