Fixed build errors, made GetWelcomePackets() work