started modifying procdump. not fully implemented + works with errors
added if condition to check that the iterated pages are present before applying actions to them.