Whoops, need to notify when pausing.

Also do the sanity check of not doing anything when thread is stopped.
Join thread when waiting for stopped thread.