Moving back sprite loading code; animation code.