Created new modes for red, green, blue, and brightness

These new modes will allow the red, green, blue, and brightness values of the images and gifs to be controlled by the RIME sensors (similar to setTransparency).

Also added some checks when reading instructions to check if all required instruction parameters exist before using them to prevent crashes.