increment after call and provide to clients
forgot this with other img commits; layers for generating gif
start pulling out errors into common structs defined in error.arr