Module libaphi_delphi_gui updated with code from NAADSM 4.