Complete merge properly. Hide img if no tab image.

Some diff artifacts from a merge operation were present.

When a tab preview is not present in localStorage,
localStorage.getItem() returns null. The code earlier tested against the
string 'undefined', this is changed to undefined ||
null. localStorage[key] returns undefined and localStorage.getItem(key)
returns null.