Fix the name of the file not being put in the title of the window
correcetly upon loading a file
Fix a segfault
Properly update the table after loading new data