changes to use BG preferences (units, categories)
make space for dates wider to accommodate some dates that were wrapping in Sept.