fix pause feature, fixes #10
Merge pull request #13 from benmj/bugfix/10

fix pause feature, fixes #10