Enforce list name uniqueness on edit.
Extend uniqueness check to new lists, and tighten up functions.