Named pause flags

Named the pause variable and flags used.