Updated internal representation of pixels to references to color palette. Added textarea that displays json representation of image.