Added mutex lock on the framebuffer and display row.