minor bug fixes
show breakdown of cat1 categories and the total time against them.
tried to add the trigger during DB creation. But - at least on my home
machine - all db changes seem to silently fail after db creation.