Allow to select in/out-of-process mode for attaching as well.

This will also automatically start the GammaRay client now.
s_instance already being deleted is a valid scenario, so don't assert.

This fixes a crash while detaching and the client still being connected.