functional in terms of main compenet.  this includes many small modifications.  in particular, changed the condition addon interface to something more intuitive and flexible than menu definition tables.