AE bug fixes and category icons

- Fixed colorIndex off by one error
- Fixed uncollapsed bug
- Removed some lines that were causing console errors (file not found)
- Reduced length of loadEventsIntoHeaders
- Category icons should set (not tested because they don't work for me)