Further bug fixes to updating file list gui after writing a file