Implement turns.
Improvements to turn and ai movement handling.