remove quadris.h, unused
update code for the grid clearing mechanism