Hi Blair,
I know what you mean about the d parameter applying to the trial as a whole.
But, if a video stimulus is being displayed when a trial is ended via the d parameter it causes the crash. (be it presented as a movie trial, or as a background video in another trial type).