Close handler for alg_gui Handles the Close event for alg_gui. Clears any algorithm data, and releases resources used by the worlds and agents. This function should not be used explicitly. See also alg_gui