Add notion of 'phase' to scope

This is a property on scope that states the current state, , , or null, depending on what is happening on the scope, if anything.
Set the 13824phase on scope according when starting and exiting the  and .