fixed display bugs, changed reverse button into an icon
improved populateGrid()
fixed Identify display bug
Fixed padding issues
Added legend option to display rectangles instead of circles.
GUI cleanup.