listener actions now correctly structured to run as code tree from the defined processes tree
basics of IF process in place (doesn't handle recursive reduction)