Logbuf rewrite

Closes #92.

Docker backend is untested, and logbuf event buffering until a newline is missing.
I added that piece of functionality, but forgot to remove it.