modified the interpreter so that if you reset() the environment in a primitive it will gracefully halt execution.