Refactor grid uniforms to match with text uniforms for image viewer.
Add per pixel overlay (later for labels) in image viewer #143