Fixed bug on Mac in changing category offsets in Categories.
Also addressed some of the problems with entering bib in TT mode (more to go).