Fix copying of a stalling sample tree while it's still in use, due to the SuspendThread call not yet completing.
Fix copying of a stalling sample tree while it's still in use, due to
the SuspendThread call not yet completing.

Fixes #174.

Celtoys/Remotery,Celtoys/Remotery,Celtoys/Remotery