Added more diagnostic printing, and only freeze 0 distance