Change action functions to message-m monadic fns
Add messages to actions.