Tidy up master before starting work on Tkinter UI