Wrote public ui functions. Convert tiles to grayscale