The back end of the grid editor is done but not tested. Waiting for Niel's wok

...'s work.