Some bot functions. Fixed crash when viewing playerlist with a bot in the game.