Module general_purpose_gui updated with code from NAADSM 4.