incorporating glen fixes to examples, runAsStrategy from kevin