add support for loading Bots from string; improved handling of ties