Updates to Random. Cosmetic cleanup in UDPClient. Validator for pointers != NULL.