change the place of the chunk to make the log more readable. In this order every action is first added to its parent and then other log information is written regarding to that action.
changing the lockawarefn so that it accepts future and action name as input to use them in calling set_acquired of future and using name containing action id for logging.
change logging so that id and name of each action is recorded instead of name