Remove XInitThreads call in main.cpp.