Server::Browser#analyze: Ensure the window closes after analysis

[Issue #50]