add the "paused" state and the pause/resume actions
wip