Grayscale Object Color Filter, Cleaned up code