Removed unused imports
Fixed NPE in afterTest
Removed progress that represent state transition, rather than state
Converged AgentState.PLANNED and AgentStage.MACHINE_TERMINATED
Removed MACHINE_MARKED_FOR_TERMINATION state
Changed numberOfRestarts to numberOfStarts - zero means not started even once