Updated Tcl with the new embedding scheme

The Tcl file is now C++, and has a header.  It's even simpler than the
Perl one.

Also fixed a couple typos within the Perl files.