adds helpful console messages, refactors socket.io. client-side broken