Added method in Tools that applies a minimum and maximum bound to a value.
Handled uncaught insufficient funds exception in player is arrested method.
After the player is raided, all pirate encounters are replaced from the queue.