Fixed the frame resizing problem; Added the file format('.xml') after the string of save_File in SaveAsData(); Deleted useless prints;