clean up grid-EYE.c a little