Ensure threadsafe event notifications.
Factor out tasks.
Remove comment.
Merge branch 'master' of github.com:peter-murach/finite_machine