Updates to browser initialization on tab activation.

On tab activation, it now checks for an existing instance, in which case it resets that instance. This actually removes the study specific tracks, which was not the case when re-creating it.