slightly different approach to browser quits