Added pause functionality.
Merge pull request #6 from elvap/master

Added pause functionality.