Merge in changes from Unv

- Set fields as classes for datagrids
- Fix initial selected tab color being wrong
- Fix compiliation on windows as static lib