BuildPaletteWidget is now issuing commands correctly on my end.