Improved Chrome OS application: cleaned up code, more sanity checks.
Gracefully destroy socket if the window is closed.
Improved croutonclip. Still a few issues to be sorted out (netcat
and possible race condition)...