- replaced SecureRandom with Random, as SecureRandom cannot be _set_ to a seed, it just adds the seed to ihe current seed instead.
- Fixed PRIORITY_MEDIUM typo (as reported by allaryin)