Fixed some warnings by changing signed ints to unsigned.
Fixed a bug with animations not playing properly on load.