added debugging funcs to cmp-animchar.h