Tkinter snippets for personal reference.