Implement blit on commit

Targets #159
I think you meant `&s->img_buf` on line 348?