method reparent parent =
      box0#misc#reparent parent;
      toplevel#destroy ()