fixed whitespace, added help and s/n and version info in server, and added looping function to client to wait till command close.