moved thumbnail update to be called on message from injected script, seems to produce more reliable results.
moved thumbnail update to be called on message from injected script, seems to produce more reliable results.