It was not intended (my code of Gustav's movement became a bit spaghetti), but in the end it did make debugging a lot easier. :P
If I ever continue with this project (or use it as a template) I will probably rewrite the AI.