Initialize pynotify before using it

Closes issue #18