animation support (fixed framerate) and error handling improvements