Got a text buffer working. Not finished, needs refactoring, but can type asdfg.