Fix bug causing layer headers in grid to not refresh correctly.

Closes #85

Also added clear method to ResultsGrid which will help with #90.