full rewrite
Wrote some docstrings to please `checkdoc'
added hooks to run on start of work/pause