Refactored pause
Some fixes
Improved code clarity
Updated README