More gamecode fixes, client can now connect