Edit: Apologies, I see this thread is about Flee and Evade. Regardless, this may be helpful for those getting stuck in walls and corners. :)
I had the same issue. I consulted the A* Pathfinding Project wander recommendations and took those into consideration. Below is a rather naive override to...