Some generic fixes to the bot-loading in-game.
Also fixed a crash when trying to look up the entity for the bot state.
Small fixes regarding the in-game loading and main bot handling.
Also added two convenience debug command entries.