drawPalette() better label placement (issue 415)
working on issue 415
Possibly fix issues 413, 414, and 415
fix merge conflict