[browser] exit when last window closed
Merge pull request #25 from rojkov/master

[browser] exit when last window closed