Fix a terrain typo; monsters use intelligence from their genus; fix stupid pathfinding.