gradeful_stop settings

consider using a StringBuilder