improved shutdown notifier and interfaces