image slideshow in Python (pyglet/OpenGL)