minor fix

* update comments
use public API |getBrowserForTab|
show number of tabs excluding hidden tabs
count index of selected tab among visible tabs