Remove more debugging stuff and fix socket not binding.