Switched format for status object

Statuses were passed around as a list, but since units were being passed by reference and modified in place, their categories were being overwritten.  Now, an object containing the unit and categories separately is passed in statuses, allowing look-ups on object attributes rather than in the DOM.