Convert GetFlame to get general pic context (#64)

CPic provides the same interface for static pics,
animated sprites (at different framerates) and
random animated sprites.