Debugging improvements. Started using Dave Hinton's dmemdump