add option to use framebuffer or not (depends on display)