Various bugfixes in YuriAI