more progress on sprite animation

Cleaned up the code so that I could more easily spot where the conflicts
are that are preventing me from seeing where I'm going wrong with 'lives
left' count, which is dropping to zero instantly, rather than
deprecating nicely.