borders generalized

borders were implemented inside buttons, now in common functions shared
with the parent gui objects. All components modified to use the parent
container's body rect instead of the exterior rect.