Fixed a bunch of unit issues for #680

Like the dimensions field, spacing wasn't handling the difference between arrays and strings passed in the units value.  This solves the units display not acting properly.