Beginning of sprite images refactor

This is the first commit of the planned large-scale sprites.py refactor!
This also happens to kill sprite images for now. All the bugs will be
worked out, and then I have more sprite image refactoring planned.
TPL small change

Small changes in TPLpy