Add logging to wait, make animation first to tempfile.