Use same component multiple times

When creating multiple copies, just reuse the same component.  This way, if the component needs to be changed for some reason, the change is applied to all copies.

Also cleaned up the code spacing a bit.