made the default random instance use thread locals. should be thread
safe now.