Add failure cleanup.
Add Tcl version checks.