save listeners into slaveState

Then make those names constants - you don't need to decide upon the value.