Just remembered that I had an issue with the safe Z. Not sure if you have limit sensors but the Safe Z works different depending on if you have them or not as discussed in this post. Might not have anything to do with your problem but I thought it was worth mentioning. Also more information about gSender is available here, with the section on safe height here.