Removing unneeded var and console.log statements.
Fixing handle flickering when selecting multiple elements.
Fixing spectrum matching for multiple elements.

If multiple elements are selected, if they all share the same fg or bg,
then the matching colors are selected in spectrum. If they don't all
match then the current default is set in the spectrum.