Fix upload tab break-work css
Refresh debug tab only when focused
Note: data sent is always refreshed, even if tab isn't focused (cf updateSendingQuery)