more tofromjson and gui stuff for grid active cell