Upgrade dgrid.
Add some groundwork for new features.