Beta/Session: Make pings not crash the client.

And clean up some debugging stuff, since we'll need the console to be useful
for the next rounds of debugging.