Application was crashing (on exit) with Xine player backend enabled

If XInitThreads() is called too late, then the process will crash, but only some time later in obscure ways.
The most common case is for the process to hit a segmentation fault within XCloseDisplay(), which usually happens at exit.

refs #13