add framebuffer status testing, not used yet