new commands s and S. also better way to stop window output