Updated resource highlight behavior
- resources only highlighted if:
   - building is active
   - input is not allocated
   - extra output only highlighted when engineer is on building
   - fixed bug where undo button wasn't updated flash
   - fixed bug where building with no inputs wasn't highlighted properly (issue: because icon is created at that time, flash is out of sync with others)