Update README and fix shutdown.
More fixes