Removed import of whrandom, which is deprecated. The module wasn't being used, actually, but there was some commented-out code that referenced it, so I added a comment about what to do (use random) if the code is needed again.
Rewrite eval calls to properly handle list elements in args that havespaces in the. eval ds_conn $args is handled correctly. eval "ds_conn[join $args]" is not.