add pause & unpause
Merge pull request #38 from vieux/pause_unpause

add pause & unpause