Scan regions recursively here too.
Cleaning up memory dumping code
Removing unused initiatedSearch property and minor adjustments