fix up bolus, CalBGForPH, and wizard records a bit

Still needs to be tested.
decode times in history