Use thread locks around instance_globals changes
Complete launching of proc and support more out/err options