Added md5anim, fixed memory leaks