Added ability to take pictures and grayscale conversion.