Added empty() to buffer_c, unit tests.
Rough impl all the way out to terminal_i.
Bashed silly, missing include.
First (very) rough pass at round trip input.