Added some debug stuff and the more verbose SHH error handling