- Make BrowserServer a scope. - Plumb exitCode and signal to BrowserServer.on('close'). - Use toImpl in a test.