spelling
compute stats sans math.js
use uom from attr instead of label
show details in popup
pass back nulls for empty slots
global var