Fixed an issue where the survey device would be bricked, and added more debug output