x11 fix
Merge pull request #131 from bagedevimo/x11

Fixes X11 threading issue, under Linux