Not sure that I like the variable incrementing during a conditional, but that's a minor niggle and is easily resolved.

It is amazing how often you can overlook the simple way, though. I watched a...