fixing startup of VM upon termination
fixing group termination issue
fixing a build failure due to partial commit
adding a map to keep track of inactive and terminating instances
fixing undeployment issue by removing the instances
fixing terminated processors to notify listeners if instance already removed
fixing undeployment by making the status calculation sync call