Messing with the pyglet library.