Allow multiple browser windows

The client handler cannot be global. Each instance of the browser needs
its own client handler as well.