Fixed a strange issue with a jvm crash related to XInitThreads.  I don't believe it is being used anymore if it was ever used correctly.