swap over to pyglet from pygame