Update state_history when state changes. Issue: #453
Added pending and scheduled timestamps as columns to the messages export. Issue: #453
Updated sentinel to latest. Issue: #453