Added StartPhase/EndPhase commands;
Moved StartTurn/EndTurn to the very beginning and very ending of a player's turn.