updates to examples in-line with latest ealib.