Separate thread for notification listening, more logging