More standard implementation for adding the thumbnail to the tab.