Added some more helpful debugging messages