counti:+1
in iTile() should be countJ: +1.
na thats not it. its just a counter and its name is currently "counti"
Thanks for looking :)
Does the program work on your computer btw?
Just put some image in the folder and exchange the hardcoded filename.