I missed your final question here...
to check for running object, the object itself has to have a internal way of informing if it's busy...
like if $value.busy ;it's still working hard
or then it may (like I quess in most of the cases) return to script when it has finished it's job, so the script is halted until that...
but the total destroyal of the object is done by reallocating it's handle with something...
like $value="" or $value=0
_________________________
!

download KiXnet