Changed custom cell to subclass SDataGridCell not SDataGridTextCell, following bug fix in grids; various other tweaks.
Various tweaks to make blog post easier to follow.