Clean shutdown and private mode so the old screen contents are restored