remove `max` validation constraints
use levelhud for local development
do not encode ref
use _type for phantomHAR custom field
return "total" in history and stats views