Rearrange the Profile view code in a couple ways:

1. most style choices are set in the CSS rather than the d3 attributes,
for easier theme modification

2.  combine the SVG drawing in one function rather than separate
functions for data and metadata