Fix iterator exit syntax.
Another guess at the undocumented 4 bytes. This seems to work on
32 bit and 64 bit address images.