- adds early filtering to list of matched elements to make looping more efficient.
- moves code to set flag from inner loop to beginning of plugin invocation to prevent possible race conditions that could lead to images being loaded twice.
- corrects some older snippets of documentation