Comments and more improvement.

more logic to not do extra processing. A lot more comments to explain whats happening.
Does this mean it waits 1 second? Most tiles should be done well before then (if they are performing well...).