Display current/max gatherers or builders when a resource or foundation is selected. Based on a patch by mimo. Fix #1871.
The this.repairTarget will become invalid if the target transforms. Causing a repairing entity to stop when the entity transforms (e.g. a siege weapon (un)packing).