adding thumbnails, url parsing, and handling tab click