Patch and agent health calculations
Changes to buildings; sundry bug fixes