Made some more progress on a keyboard buffer.