Updated DSGA class to be within the class. Now with a waiting dialog box.