don't initialize gl if width is 0
data: change shader to GLSL 140
call XInitThreads
remove old transformation box, make transformation work