Merge pull request #21 from vicoapp/stream-sockets

Improve socket support in ViBufferedStream.
Don't close fullscreen window after last tab is closed (fixes crash)
Merge pull request #1 from vgrichina/fullscreen-close-crash-fix

Don't close fullscreen window after last tab is closed (fixes crash)