Merge of PR #3584
   Metrics tab - fix click handlers
   and add download buttons