Added support for recording animations!  (And a few API updates)