cleanup references after they're done getting used
Merge branch 'master' of https://github.com/hippiehunter/GifRenderer
wip crashyness