Improve QuitCommand to really stop the program as well as to take an optional message as a parameter