Add graceful shutdown.
Add notes.