Added a new option "confirm_to_kill_running_command", Terminate the running command directly when closing. Thanks Tsyko for this greate idea.