Fix zero being falsy messing with the layout and return values of trialdata.
refactor  font end