Cabinet name was not filled with department color if there was not devic...

...e in the cabinet

Actually the added line 248 "$deptswithcolor=array();" deleted the previously computed information. All other changes are formatting changes only.