add (X Display) locked wrappers for some glX functions
use locked wrappers for glXMakeCurrent and glXSwapBuffers, lock display during device creation and destroy
small library which executes XInitThreads when loaded

It's purpose to be preloaded into browser which do not call XInitThreads,
to prevent crashes of flashplayer