Attempt to recover from device reboots
Fix reboot recovery
Fix heap-unclassified calculation