fixed termination behavior when using --live
added animated gif export