category names and colours

Category names and colours showing on news items now. Also fix for when
internet connection is lost when downloading JSON.