Add diagnostics tab for hunting down an occasional bug.