Editor: refactor how entities are notified when the tileset changes.