Set and react to state.title. Fix #103