Added code to check for a horse being un-tamed (owner removed) and to unlock it. Added cooldown functionality for the immortality flag so horses can be made vulnerable for a configured number of seconds after a rider exits.