added drawGrid()
added newWidget()
changed drawGrid() to toggleGrid(); rewrote submitTest()