Fix avatar manager. Fix fatal error in workflow. Enhance NotificationCenter. Fix #507