I think before I try to fix this, I need to very carefully define exactly what I want, and think through the different variations.
I think if there's an existing session other than a scratchpad, it should be attached to.
I think the scratchpad session should be terminated when the "owning" session is terminated.