Moved getpixels to its own repo. Broke out constants to #defines in script.