handle blank key

Set up default to catch blank keys on totals, create list of keys we've
seen as we go.