LTK constructs names for tcl variables by appending characters to "w" the problem is that there is a command "wm" already in tcl/tk. This can cause issues. I quickly worked around it by making the base-name "ww" as there are no built-in commands that start with ww. However the right solution is probably to make a namespace.
-Jason