fix grid drawing
use DAT.GUI for gui controls