Paint kind of works

The operation performs, but it seems to be doing it upside down from
what I thought it would.  Still tweaking to make it crash proof, which
right now it is not.