Fixed test driver to call initialization routine -- changed to tclsh.

Updated to support determing encoding from environment

Removed debugging printfs/puts