changed exit on close to dispose on close for sub menu frames  in Frames package