Added client side debug log, and fixed a bug that caused players not to move