changes to dataconfig window and main window