Fixed Phalanx Movement

+ Added isAI argument to movement, to prevent phalanx clearing and undo
queue altering.

* BUG: Undo is all fucked up