textures now work properly
got particles working :D
a mess of small changes which I forget to commit iteratively: particles, openGL debug support, ... etc