changed order of parameters in ani_gif
added comments + todo's