fixes #2, fixes #3, fixes #4, fixes #8
refactoring how nonotify log is defined