@ grid.cs: grid UI is done