flush partial out to stdout.
avoid dereferencing null maps after we munmap everything
output message when parsing failure for -a
add more missing flushes
explicitly clear the other arch if not specified in -a