Fix spell deletion not resetting the selected spell correctly
Fix some code that still used setCount directly instead of using the ContainerStore interface. Also fix a related annoyance with the interface.