Use 32-bit writes in the instrumentation code so that the AVR simulator does not take one trillion years to execute it.
Fix stack calculation; dump and process the RAM segment, not the entire address space.