added grayscale transform to CaptureBasic, compiles & runs properly, gray effect is applied to output