Improve the start and stop scripts to do things such as checking if the script really starts, really exits, and so on.