Fix the tcl interpret access and many other warnings.