Copied over functions from Project AA (AA_maskdomain, AA_matchspectrum (now spectra)). These functions will likely be used in some of the calibration routines CWB has sketched.
ANL GUI and checks. ANL_GUI sends virtual keypresses (via Java Robot class) that simulate real button presses, provided the figure is redrawn with "drawnow".
Added compatibility for ANL_GUI. Users can now either press the keyboard buttons (e.g., the subject in the room can use a response pad) or use the GUI with identical outcomes.
Small bug fixes and modifications