Added a turn complete flag to actions
Added support for multi-stage actions