Fix for input bug that hasn't seemed to have got into head
Adds periodic debugging to the recvData method