Initial thumbnail support. Doesn't work just yet.
almost there
making click handling more robust