The main window now receives data from the datastore.