random seed buffer must be unsigned
Xr and Ox fixes;