add abs_path in MainWindow, adjust the defaultdir of the open and save dialog of LineFrame