animation: fix compiler warnings for integer signedness
animation: update constructors to C++11