It could be a stupid mistake, such as forgetting to put the bar drawing in a repeating timeout

. Also, a little thing in there is that if you tell it to draw the image width as 0, it will draw the entire thing. There's my two cents, but the code would be nice, yes.