def new_top(root):
    global w, rt
    rt = root
    w = Toplevel(root)
    top = main_level(w)
    init(w, top)
    return (w, top)
def new_top(root):
    global w, rt
    rt = root
    w = Toplevel(root)
    top = main_level(w)
    init(w, top)
    return (w, top)