A little script to gracefully quit apps from the command-line