Basic application framework for Tk.