Added a character animation test harness and cleaned up a bug or two