comments on server.sh

added comments and more descriptive response on exiting the server.