fix missing imports
enable python-notifier logging
fix initialization of handler: init() was called on each request