fix to do shutdown explicitly, and show logs on startup/shutdown