You should add like working priorities. Picking food should be the 1 st. Sometime mankind are just dumb, they are out of food but they continue mining ore and die out although there are A LOT OF wheat on the ground.
And i think when a person dies they should drop their tools on the ground.