cairogrid.cs file cleanup