Rename buffer to framebuffer for clarity