Put the close button before the pill value

Makes it easier to predict where the close button will be since the pill values may have different lengths
Add very basic style

Needs better colors and drop shadows