fixed bug affecting startup/shutdown checking of running browsers