Added some internal setup stuff for setting up categories and initial buttons with colours.