Use global Tk object

Bug: #1