added framebuffer error message logging