fixed a whole slew of warnings
print out the seed for reproducing weirdness