Added mystery.py, refactoring mysterious gif glitches, and render.py, building pyglet gif functionality