remove print_framebuffer from frame, change framebuffer from column-wise to row-wise