I was too hasty, Master Hobbit. Fixed input arguments of all uses of intToPixel to use addresses to ints.