Make sure we don't send ridiculously large fragments to the server

This was happening on very long lines.

Issue #121
Kill self-spawned servers when closing a file or giving up on a server

Issue #121