API updates

Adds a flag to iiglue to disable learning the return code 0