Tk library and sample change.