added functions to set individual pixels/groups of pixels to a specified color