added the ability to invert values in the buffer.

mostly as an exercise to learn Qt and C++. In some cases I wonder if
data isn't being stored in the inverse on occassion, since default
value of raw nand is FF?