add checkboxen for drawing gridlines and normals
cleanup