Knocked a few bytes off. More sensible random value calculation.