clean up ticker example; handle stop in pulse