remove XInitThreads call