Fixed animations merge.

Animation merge was completely broken somewhere along the way to v4.
Also fixed strange bug causing RC to truncate animation length if it is
not formatted as float
Some variable renaming
Renamed object to object_
Merge pull request #47 from Andy51/anim-merge-fix

Animation merge fix