add buffer object
fix text bugs, add horrid debug hooks
add C-f and C-b