Save recent color swatch selections. [1765]

This ended up having to be more complicated than I had hoped, but it’s
functional!

There’s a number of refinements that I’ll have to make to get this
functioning *exactly* like the standard swatch panel, but the majority
of the work is done.