simplify actor animation code, and put in explicit test cases

- the find-frame inner function was doing really stupid stuff; no longer