Added some debugging messages

Fixed a small issue with inviting battling players, too.