Add debugging stuff and things

Sometimes messages were getting dropped by the in handler, it'd be nice to know what was going on