Cleanup read framebuffers to memory mode a bit