The grain markets saw gains most of last week, with wheat and corn posting slight losses on Thursday.