w<, w>, w*, w_ misbehave with friendly monsters
The issue occurs when there are two different paths to the stairs (or altar, or chosen location) and a friendly monster is "blocking" the shorter path. A walk to stairs command will go up to the friendly monster, move away because the path to the stairs is "blocked", go back up the the friendly monster because it's still on the shortest path, move away because the path is "blocked"... This is not interruptable by the player, and can waste a lot of turns. These commands should either automatically swap with intervening friendlies, or just get interrupted when there's a friendly monster in the way (could maybe use the Auto_Swap_Neutral setting to determine the behavior).